<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js代码执行流程</title>
</head>
<body>

    <script>
        var name = "cq";
        function foo(num1,num2)
        {
            var sum = num1+num2;
            return sum;
        }

        
        
    </script>
    
</body>
</html>